package com.ktjy.ktmall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ktjy.ktmall.domain.vo.OrderInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderInfoService extends IService<OrderInfo> {
    /**
     * 根据订单编号查询订单信息
     */
    OrderInfo selectOrderInfoByOrderSn(@Param("id") Long id);


    /**
     * 查询你所有订单详情信息
     */
    List<OrderInfo> selectOrderInfoList(OrderInfo orderInfo);
}
